package com.woniu.tms.login.service;

import com.woniu.tms.entity.Permission;
import com.woniu.tms.entity.Role;
import com.woniu.tms.entity.User;

import java.util.List;
import java.util.Set;

/**
 * @Author: peng
 */
public interface LoginService {

    User login(User user);

    List<Role> getRole(Integer uid);

    List<Permission> getTree(User user);

    Set<String> getUserPermissions(User user);
}
